home *** CD-ROM | disk | FTP | other *** search
/ Ham Radio 2000 #1 / Ham Radio 2000.iso / ham2000 / packet / p_aa4re / bb212src / bbopt.pas < prev    next >
Encoding:
Pascal/Delphi Source File  |  1992-03-20  |  8.2 KB  |  116 lines

  1. (*===========================================================================*)
  2. (* Option block                                                              *)
  3. (*                                                                           *)
  4. (*   Copyright 1988, 1989, 1990, 1991, 1992 by H. Roy Engehausen.  All       *)
  5. (*   rights reserved.                                                        *)
  6. (*                                                                           *)
  7. (*===========================================================================*)
  8.  
  9. TYPE
  10.   opt_type = RECORD
  11.  
  12.         port_count         : BYTE;      (* Number of ports                   *)
  13.         fd_count           : BYTE;      (* Number of file directories        *)
  14.  
  15.         opt_type_bpt       : BOOLEAN;   (*  Limit types to B, P, and T       *)
  16.         opt_sysop_is_in    : BOOLEAN;   (* Sysop is accepting calls          *)
  17.         opt_sysop_bell     : BOOLEAN;   (* Sysop bell is on                  *)
  18.         opt_bid_for_p      : BOOLEAN;   (* Gen BID for P messages            *)
  19.         opt_bid_for_t      : BOOLEAN;   (* Gen BID for T messages            *)
  20.         opt_bid_for_blank  : BOOLEAN;   (* Gen BID for _ messages            *)
  21.         opt_blank_to_p     : BOOLEAN;   (* Translate "S" to "SP"             *)
  22.         opt_blank_to_b     : BOOLEAN;   (* Translate "S" to "SB"             *)
  23.         opt_hold_dupe_bid  : BOOLEAN;   (* Hold duplicate bids               *)
  24.         opt_kill_bbs_error : BOOLEAN;   (* Disconnect BBS on any error       *)
  25.         opt_direct_display : BOOLEAN;   (* Write direct to display           *)
  26.         opt_direct_snow    : BOOLEAN;   (* Avoid snow on CGA                 *)
  27.         opt_rename_k       : BOOLEAN;   (* Rename killed                     *)
  28.         opt_error          : BOOLEAN;   (* Log minor errors                  *)
  29.         opt_mono_tcb_trace : BOOLEAN;   (* Special monochrome TCB trace      *)
  30.         opt_trace          : BOOLEAN;   (* Run trace                         *)
  31.         opt_mon_time_stamp : BOOLEAN;   (* Time stamp monitor data           *)
  32.         opt_bbs_see_p      : BOOLEAN;   (* Allow BBS to see "P" messages     *)
  33.         opt_already_conn   : BOOLEAN;   (* Duplicate connect check           *)
  34.         opt_time_status    : BOOLEAN;   (* Update status line on time tick   *)
  35.         opt_own_in_bcst    : BOOLEAN;   (* Own call in BCST                  *)
  36.         opt_yapp_state     : BOOLEAN;   (* Show YAPP states                  *)
  37.         opt_show_binary    : BOOLEAN;   (* Show binary data during s/r       *)
  38.         opt_suppress_pfx   : BOOLEAN;   (* Don't show prefix on LO screen    *)
  39.         opt_show_mismatch  : BOOLEAN;   (* Show mismatch during forward scrpt*)
  40.         opt_auto_hlookup   : BOOLEAN;   (* Do HLOOKUP each forward cycle     *)
  41.         opt_extend_timeout : BOOLEAN;   (* Extend timeout on ports           *)
  42.         opt_personal_bbs   : BOOLEAN;   (* Personal BBS                      *)
  43.         opt_no_alt_header  : BOOLEAN;   (* Alternate header                  *)
  44.         opt_send_sid_alwys : BOOLEAN;   (* Always send SID                   *)
  45.         opt_fill_blank_bbs : BOOLEAN;   (* If @ BBS is blank fill from user  *)
  46.         opt_no_lang_prompt : BOOLEAN;   (* Language prompt control in registr*)
  47.         opt_no_full_review : BOOLEAN;   (* If on, bypass full screen review  *)
  48.         opt_blank_to_bbs   : BOOLEAN;   (* If on, set the default to bbs = ''*)
  49.         opt_autoset_to_bbs : BOOLEAN;   (* If on, set the default to bbs to  *)
  50.                                         (* that user's home BBS if any       *)
  51.  
  52.         operate_mode  : op_mode;        (* Operation mode                    *)
  53.         max_task_no   : BYTE;           (* Maximum number of tasks           *)
  54.         this_bb_sign  : call_sign_str;  (* Call sign of BBS                  *)
  55.         this_bb_bid   : call_sign_str;  (* Call sign of BBS for bid purposes *)
  56.         sysop_sign    : call_sign_str;  (* Call sign of SYSOP                *)
  57.         this_bb_addr  : bb_addr_str;    (* Address of BBS                    *)
  58.         this_bb_h     : h_addr_str;     (* Hieararchical addess of this BBS  *)
  59.         this_bb_name  : STRING[15];     (* SYSOP name                        *)
  60.         this_bb_loc   : STRING[25];     (* Location                          *)
  61.         user_file_name: file_name_str;  (* USER control file                 *)
  62.         msg_file_name : file_name_str;  (* MSG control file                  *)
  63.         msg_file_dir  : file_name_str;  (* Directory for the msg files       *)
  64.         mess_fn       : file_name_str;  (* File name for messages            *)
  65.         dos_mess_fn   : file_name_str;  (* File name for DOS messages        *)
  66.         route_fn      : file_name_str;  (* File name for route table         *)
  67.         path_fn       : file_name_str;  (* File name for path table          *)
  68.         log_fn        : file_name_str;  (* File name for log                 *)
  69.         help_fn       : file_name_str;  (* File name for help                *)
  70.         doserr_fn     : file_name_str;  (* File name for DOS error messages  *)
  71.         mon_fn        : file_name_str;  (* File name for monitor log         *)
  72.         wakeup_fn     : file_name_str;  (* File name for wakeup              *)
  73.         hlook_fn      : file_name_str;  (* File name for hlookup             *)
  74.         passwd_fn     : file_name_str;  (* File name for password file       *)
  75.         action_fn     : file_name_str;  (* File name for action file         *)
  76.         n_mon         : WORD;           (* Number of mon items to keep       *)
  77.         bid_fn        : file_name_str;  (* File name for bid table           *)
  78.         n_bid         : WORD;           (* Number of bid items to keep       *)
  79.         n_j_list      : BYTE;           (* Number of items on j list         *)
  80.         hold_dupe_hdr : BYTE;           (* Number of dup headers to hold     *)
  81.         trace_file_name : file_name_str;  (* Trace output                    *)
  82.         z_time_fwd    : LONGINT;        (* Timezone correction -- FWD        *)
  83.         nofwd_kill    : STRING[26];     (* Dont kill on forward              *)
  84.         bcst_interval : BYTE;           (* Broadcast interval in minutes     *)
  85.         fwd_delay     : BYTE;           (* Forward delay                     *)
  86.         opt_types     : STRING[27];     (* Allowed types                     *)
  87.         emer_types    : STRING[27];     (* Emergency types                   *)
  88.         operator_color: BYTE;           (* Color of operator stuff           *)
  89.         status_color  : BYTE;           (* Color of staus line               *)
  90.         window_percent: BYTE;           (* Window split percentage           *)
  91.         scroll_mon    : WORD;           (* Monitor scroll                    *)
  92.         scroll_opr    : WORD;           (* Operator scroll                   *)
  93.         scroll_conn   : WORD;           (* Connect scroll                    *)
  94.         editor_free   : WORD;           (* Editor free size                  *)
  95.         bell_length1  : BYTE;           (* Tone length                       *)
  96.         bell_length2  : BYTE;           (* Warble length                     *)
  97.         newuser_l_time: BYTE;           (* How many days to show a new user  *)
  98.         wakeup_intervl: BYTE;           (* Wakeup interval                   *)
  99.         bpq_appl_num  : BYTE;           (* BPQ application number            *)
  100.         bpq_buff      : WORD;           (* BPQ buffer size                   *)
  101.         yapp_time_exp : BYTE;           (* YAPP time expansion               *)
  102.         max_l_shown   : BYTE;           (* Max messages given by "L" command *)
  103.  
  104.         wp_bb_sign    : bb_full_addr;   (* Call sign of WP system to send to *)
  105.         home_expires  : LONGINT;        (* When Home BBS expires             *)
  106.         b_fwd_stop    : LONGINT;        (* Don't forward bulletins after     *)
  107.                                         (* this time period                  *)
  108.         dflt_b_expire : LONGINT;        (* Default bulletin expiration date  *)
  109.         language_list : lang_str;       (* List of allowed languages         *)
  110.  
  111.         parm_file_ver : BYTE;           (* Version number of parm file       *)
  112.       END;
  113.  
  114. VAR
  115.   opt_block : opt_type;
  116.